#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Views for the members app.
#
# Created on 2008-10-28.
# $Id: views.py 40 2010-03-08 23:05:09Z guolin.mobi $
#

from afcpweb.apps.common import utils
from afcpweb.apps.common.actions import get_common_data
from afcpweb.apps.members import paristech
from afcpweb.apps.members.config import Config
from afcpweb.apps.members.models import AFCPUserProfile, get_current_user
from django.http import HttpResponse, HttpResponseRedirect
from django.template import Context, loader
import logging
import urllib



APP_NAME = "test"
HTML_PAGE = "test.html"


def view_test(request):
    """Displays a test page"""
    
    ctxt_dict = { }
    
    ctxt_dict.update(get_common_data(request))
    ctxt = Context(ctxt_dict)
    tmpl = loader.get_template("%s/%s" % (APP_NAME, HTML_PAGE))
    return HttpResponse(tmpl.render(ctxt))
